//
//  HoobiesSortCell.h
//  iShop
//
//  Created by svp on 24/12/2011.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@class HobbiesSortCell;

@protocol HobbiesSortCellDelegate<NSObject>

@optional

-(void) moveUp:(HobbiesSortCell*)cell;
-(void) moveDown:(HobbiesSortCell*)cell;

@end



@interface HobbiesSortCell : UITableViewCell {
	UILabel* _category;
	UIButton* _upButton;
	UIButton* _downButton;
	id<HobbiesSortCellDelegate> _delegate;
}

@property(nonatomic, retain) IBOutlet UILabel* category;
@property(nonatomic, retain) IBOutlet UIButton* upButton;
@property(nonatomic, retain) IBOutlet UIButton* downButton;
@property(nonatomic, assign) id<HobbiesSortCellDelegate> delegate;

-(IBAction) upButtonPress:(id) sender;
-(IBAction) downButtonPress:(id) sender;
			 
@end
